<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>添加用户</title>
    <link rel="stylesheet" th:href="@{../css/bootstrap.min.css}">
</head>
<body>
<h3 class="pt-3 pb-3">用户列表</h3>
<table class="table table-striped table-sm">
    <tr>
        <th>用户编号</th>
        <th>用户名称</th>
        <th>用户密码</th>
        <th>用户状态</th>
        <th>管理角色</th>
    </tr>
    <tr th:each="sysUser : ${sysUsers}">
        <td th:text="${sysUser.id}"></td>
        <td th:text="${sysUser.username}"></td>
        <td th:text="${sysUser.password}"></td>
        <td th:text="${sysUser.status}"></td>
        <td><a th:href="@{../user/getRolesByUser(uid=${sysUser.id})}" target="container">管理角色</a></td>
    </tr>
</table>
<script th:src="@{../js/jquery-3.5.1.min.js}"></script>
<script th:src="@{../js/bootstrap.bundle.min.js}"></script>
</body>
</html>